package com.game.battleship;



import android.app.Activity;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class CreditsActivity extends Activity {

	String[] authors;	
	ListView credits_ListView;
	ArrayAdapter<String> creditsInformation_ArrayAdapter;
	
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.credits);
        credits_ListView = (ListView)this.findViewById(R.id.credits_ListView);
        
        Resources rsc = this.getResources();
        authors = rsc.getStringArray(R.array.credits);
        
        creditsInformation_ArrayAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, authors);
        credits_ListView.setAdapter(creditsInformation_ArrayAdapter);
    }
}
